﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Main2.aspx.cs" Inherits="WebFormDev.Main2" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.5.0, Culture=neutral, PublicKeyToken=e10463e7b0d83b80"
    Namespace="DevExpress.Web.ASPxNavBar" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.5.0, Culture=neutral, PublicKeyToken=e10463e7b0d83b80"
    Namespace="DevExpress.Web.ASPxSplitter" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.5.0, Culture=neutral, PublicKeyToken=e10463e7b0d83b80"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxTreeList.v11.2, Version=11.2.5.0, Culture=neutral, PublicKeyToken=e10463e7b0d83b80"
    Namespace="DevExpress.Web.ASPxTreeList" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.5.0, Culture=neutral, PublicKeyToken=e10463e7b0d83b80"
    Namespace="DevExpress.Web.ASPxTabControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.5.0, Culture=neutral, PublicKeyToken=e10463e7b0d83b80"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>
        <%= olierFrm.WebFormDev.Extensions.AppTitle%></title>
    <style type="text/css">
        html, body, form
        {
            height: 100%;
            margin: 0px;
            padding: 0px;
            overflow: hidden;
        }
    </style>
    <script src="Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="Scripts/JScript1.js" type="text/javascript"></script>
    <script src="Scripts/Main.js" type="text/javascript"></script>
    <script src="Scripts/jquery.d.imagechange-1.3/js/jquery.d.imagechange.min.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="div_dialogSel">
        <input type="hidden" id="hiddenDialogSelIndex" value="1" />
        <dx:ASPxPopupControl ID="dialogSel1" ContentUrl="" runat="server" CloseAction="CloseButton"
            Modal="True" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter"
            ClientInstanceName="dialogSel1" HeaderText="查找选择" AllowDragging="True" Width="600"
            Height="500" EnableAnimation="False" AllowResize="True" EnableViewState="False"
            ContentStyle-Paddings-Padding="0" ClientSideEvents-Shown="DialogSelShow" ClientSideEvents-Closing="DialogSelClose">
        </dx:ASPxPopupControl>
        <dx:ASPxPopupControl ID="dialogSel2" ContentUrl="" runat="server" CloseAction="CloseButton"
            Modal="True" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter"
            ClientInstanceName="dialogSel2" HeaderText="查找选择" AllowDragging="True" Width="600"
            Height="500" EnableAnimation="False" AllowResize="True" EnableViewState="False"
            ContentStyle-Paddings-Padding="0" ClientSideEvents-Shown="DialogSelShow" ClientSideEvents-Closing="DialogSelClose">
        </dx:ASPxPopupControl>
        <dx:ASPxPopupControl ID="dialogSel3" ContentUrl="" runat="server" CloseAction="CloseButton"
            Modal="True" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter"
            ClientInstanceName="dialogSel3" HeaderText="查找选择" AllowDragging="True" Width="600"
            Height="500" EnableAnimation="False" AllowResize="True" EnableViewState="False"
            ContentStyle-Paddings-Padding="0" ClientSideEvents-Shown="DialogSelShow" ClientSideEvents-Closing="DialogSelClose">
        </dx:ASPxPopupControl>
        <dx:ASPxPopupControl ID="dialogSel4" ContentUrl="" runat="server" CloseAction="CloseButton"
            Modal="True" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter"
            ClientInstanceName="dialogSel4" HeaderText="查找选择" AllowDragging="True" Width="600"
            Height="500" EnableAnimation="False" AllowResize="True" EnableViewState="False"
            ContentStyle-Paddings-Padding="0" ClientSideEvents-Shown="DialogSelShow" ClientSideEvents-Closing="DialogSelClose">
        </dx:ASPxPopupControl>
        <dx:ASPxPopupControl ID="dialogSel5" ContentUrl="" runat="server" CloseAction="CloseButton"
            Modal="True" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter"
            ClientInstanceName="dialogSel5" HeaderText="查找选择" AllowDragging="True" Width="600"
            Height="500" EnableAnimation="False" AllowResize="True" EnableViewState="False"
            ContentStyle-Paddings-Padding="0" ClientSideEvents-Shown="DialogSelShow" ClientSideEvents-Closing="DialogSelClose">
        </dx:ASPxPopupControl>
    </div>
    <div style="height: 100%;">
        <dx:ASPxSplitter ID="ASPxSplitter1" runat="server" Width="100%" Height="100%" Orientation="Vertical">
            <Panes>
                <dx:SplitterPane Size="66" ShowCollapseBackwardButton="True">
                    <PaneStyle Paddings-Padding="0" BackgroundImage-Repeat="NoRepeat">
<Paddings Padding="0px"></Paddings>

<BackgroundImage Repeat="NoRepeat"></BackgroundImage>
                    </PaneStyle>
                    
                    <ContentCollection>
                        <dx:SplitterContentControl runat="server" SupportsDisabledAttribute="True">
                            <div style="float: left">
                                <img src="Images/logopng.png" style="margin-top: 7px;" height="50" />
                            </div>
                            <div style="float: right; text-align: right; font: 13px Tahoma; margin-right: 10px;
                                margin-top: 18px; text-decoration: none;">
                                <div style="margin-top: 4px;">
                                    <span style="vertical-align: middle">
                                        <img src="images/imgButton/User.png" height="15" /></span></div>
                                <div style="margin-top: 4px;">
                                    <span style="vertical-align: middle">
                                        <img src="images/imgButton/Help.png" height="15" /></span><a class="sprite-Buttons"
                                            href="#">帮助</a>&nbsp;| <span style="vertical-align: middle">
                                                <img src="images/imgButton/Feedback.png" height="15" /></span><a href="#">反馈</a>&nbsp;|
                                    <span style="vertical-align: middle">
                                        <img src="images/imgButton/BBS.png" height="15" /></span><a href="#">论坛</a>&nbsp;|&nbsp;<span
                                            style="vertical-align: middle"><img src="images/imgButton/Setting.png" height="15" /></span><a
                                                href="#">设置</a>&nbsp;|&nbsp;<span style="vertical-align: middle"><img src="images/imgButton/Exit.png"
                                                    height="15" /></span><a href="#" id="alogout">退出</a></div>
                            </div>
                            <div style="clear: both">
                            </div>
                        </dx:SplitterContentControl>
                    </ContentCollection>
                </dx:SplitterPane>
                <dx:SplitterPane>
                    <Panes>
                        <dx:SplitterPane Size="190" PaneStyle-Paddings-Padding="0" ShowCollapseBackwardButton="True">
                            <PaneStyle>
                                <Paddings Padding="0px"></Paddings>
                                <BackgroundImage ImageUrl="images/main/left/left.jpg" />
                            </PaneStyle>
                            <ContentCollection>
                                <dx:SplitterContentControl runat="server" Height="100%">
                                    <dx:ASPxNavBar ID="ASPxNavBar2" Width="100%" Height="100%" Paddings-Padding="0" GroupSpacing="0"
                                        AutoCollapse="True" EnableHotTrack="True" runat="server" ClientIDMode="AutoID">
                                        <Paddings Padding="0px"></Paddings>
                                        <GroupHeaderTemplate>
                                            <%# Eval("Text") %>
                                        </GroupHeaderTemplate>
                                        <Groups>
                                            <dx:NavBarGroup Text="导航">
                                                <ContentTemplate>
                                                    <iframe id="iframeMenu" style="width: 100%; height: 100%;" frameborder="no" framespacing="0"
                                                        border="0" src="Menu.aspx"></iframe>
                                                </ContentTemplate>
                                            </dx:NavBarGroup>
                                        </Groups>
                                    </dx:ASPxNavBar>
                                </dx:SplitterContentControl>
                            </ContentCollection>
                        </dx:SplitterPane>
                        <dx:SplitterPane>
                            <PaneStyle>
                                <Paddings Padding="0" />
                            </PaneStyle>
                            <ContentCollection>
                                <dx:SplitterContentControl runat="server" SupportsDisabledAttribute="True">
                                    <iframe id="iframeContent" style="width: 100%; height: 100%;" frameborder="no" framespacing="0"
                                        border="0" src="IFrameContent.aspx"></iframe>
                                </dx:SplitterContentControl>
                            </ContentCollection>
                        </dx:SplitterPane>
                    </Panes>
                    <PaneStyle>
                        <Paddings Padding="0px"></Paddings>
                        <BackgroundImage Repeat="NoRepeat"></BackgroundImage>
                    </PaneStyle>
                    <ContentCollection>
                        <dx:SplitterContentControl runat="server" SupportsDisabledAttribute="True">
                            <div style="float: left">
                                <img src="Images/logopng.png" style="margin-top: 7px;" height="50" />
                            </div>
                            <div style="float: right; text-align: right; font: 13px Tahoma; margin-right: 10px;
                                margin-top: 18px; text-decoration: none;">
                                <div style="margin-top: 4px;">
                                    <span style="vertical-align: middle">
                                        <img src="images/imgButton/User.png" height="15" /></span></div>
                                <div style="margin-top: 4px;">
                                    <span style="vertical-align: middle">
                                        <img src="images/imgButton/Help.png" height="15" /></span><a class="sprite-Buttons"
                                            href="#">帮助</a>&nbsp;| <span style="vertical-align: middle">
                                                <img src="images/imgButton/Feedback.png" height="15" /></span><a href="#">反馈</a>&nbsp;|
                                    <span style="vertical-align: middle">
                                        <img src="images/imgButton/BBS.png" height="15" /></span><a href="#">论坛</a>&nbsp;|&nbsp;<span
                                            style="vertical-align: middle"><img src="images/imgButton/Setting.png" height="15" /></span><a
                                                href="#">设置</a>&nbsp;|&nbsp;<span style="vertical-align: middle"><img src="images/imgButton/Exit.png"
                                                    height="15" /></span><a href="#" id="alogout">退出</a></div>
                            </div>
                            <div style="clear: both">
                            </div>
                        </dx:SplitterContentControl>
                    </ContentCollection>
                </dx:SplitterPane>
                <dx:SplitterPane Size="35" ShowCollapseForwardButton="True" Collapsed="true">
                    <PaneStyle Paddings-Padding="0">
                        <BackgroundImage ImageUrl="images/main/footer/footer.jpg" />
                        <Paddings Padding="0px"></Paddings>
                        <BackgroundImage ImageUrl="images/main/footer/footer.jpg"></BackgroundImage>
                    </PaneStyle>
                    <ContentCollection>
                        <dx:SplitterContentControl runat="server" SupportsDisabledAttribute="True">
                            <center>
                                Copyright © 2010 <a target="_blank" href="">xxxx</a></center>
                        </dx:SplitterContentControl>
                    </ContentCollection>
                </dx:SplitterPane>
            </Panes>
            <ClientSideEvents PaneResized="function(s, e) {$().ResizeAll();}" />
            <ClientSideEvents PaneResized="function(s, e) {$().ResizeAll();}"></ClientSideEvents>
        </dx:ASPxSplitter>
    </div>
    </form>
    <script>
        var themeName = 'Aqua';
        $("#ASPxSplitter1_0").css("background-image", "url(images/main/header/" + themeName + ".jpg)");
        $("#iframeMenu").parent().css("background-image", "url(images/main/left/" + themeName + ".jpg)");
        $("#ASPxSplitter1_2_CC").css("background-image", "url(images/main/footer/" + themeName + ".jpg)");

        //        function WriteDateTime() {
        //            var now = new Date()
        //            $("#span_NowDateTime").text(now.getFullYear() + "年" + (now.getMonth() + 1) + "月" + now.getDate() + "日  " + now.getHours() + "时" + now.getMinutes() + "分" + now.getSeconds() + "秒");
        //        }

        //        setInterval(WriteDateTime, 1000);

        
    </script>
</body>
</html>
